<?php

class m140529_151811_tbl_config extends CDbMigration
{
	public function up()
	{
        $this->createTable('tbl_config', array(
            'id'=>'pk',
            'code'=>'string',
            'name'=>'string',
            'value'=>'string'
        ));
	}

	public function down()
	{
        $this->dropTable('tbl_config');
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}